package org.example.springbootdemo02.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Product {
    private Integer id;
    private String name;
    private String category;
    private BigDecimal price;
    private Integer stock;
    private String brand;
    private String description;
    private Integer status;
    private Date createTime;
    private Date updateTime;
    private String creator;
    private String lastModifier;

    // 省略getter和setter方法
}